Mollie\WooCommerce\Payment\MolliePayment A

Total Complexity 52
Dependencies 8
Dependents 2
Total lines 507
Lines of code 294
Logical lines of code 159
Comment lines 103
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
refund()
A
43 7 45
getPaymentRequestData()
A
41 6 57
onWebhookPaid()
A
48 7 33
onWebhookCanceled()
A
48 7 33
onWebhookExpired()
S
48 5 33
getPaymentObject()
S
58 3 14
getMollieCustomerIdFromPaymentObject()
S
65 3 10
getSequenceTypeFromPaymentObject()
S
65 3 10
maybeUpdateStatus()
S
68 3 7
onWebhookFailed()
S
57 1 17
getMolliePaymentIdFromPaymentObject()
S
72 2 6
getMollieCustomerIbanDetailsFromPaymentObject()
S
65 2 9
__construct()
S
67 1 8
addSequenceTypeFirst()
S
76 1 4
setActiveMolliePayment()
S
67 1 8